package threadTestDemo;

import java.util.concurrent.Future;
import java.util.concurrent.FutureTask;

public class MyCallFutureTaskThread {
    public static void main(String[] args) {
        MyCall myCall=new MyCall(10);
        FutureTask<String> futureTask=new FutureTask<String>(myCall);
        Thread cftt=new Thread(futureTask);
        cftt.start();
    }
}
